package cn.lkx.serviceucenter.service;

import cn.lkx.serviceucenter.entity.UcenterMember;
import cn.lkx.serviceucenter.entity.vo.RegisterVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author lkx
 * @since 2022-05-09
 */
public interface UcenterMemberService extends IService<UcenterMember> {

    String login(UcenterMember member);

    boolean register(RegisterVo registerVo);
    //根据openid查询数据库是否存在该用户
    UcenterMember getMemberByOpenId(String open_id);

    Integer countRegisterByDay(String day);
}
